#ifndef _CC_MATH_TOOL_H_
#define _CC_MATH_TOOL_H_
// #include <opencv2/imgproc.hpp>
#include <vector>

struct ccbox {
  /* data */
  int x;
  int y;
  int width;
  int height;
};

class CcObjBBox {
public:
  int label;
  float score;
  ccbox bbox;
};

float sigmoid(float x);
float inverse_sigmoid(float x);
std::vector<int> nms(const std::vector<CcObjBBox> &int_bbox,
                     float iou_threshold, int class_num);

#endif
